<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:c="http://java.sun.com/jsp/jstl/core">
    <div class="col-sm-3 col-md-2 sidebar">

        <ul class="nav nav-sidebar">
            <li class="left-siderbar-overview"><h:link outcome="/dashboard/index" value="概览"/></li>
        </ul>

        <c:if test="#{userBean.currentUser.status eq 0}">
            <ul class="nav nav-sidebar">
                <li class="left-siderbar-category"><h:link outcome="/dashboard/category" value="分类管理"/></li>
            </ul>
        </c:if>

        <ul class="nav nav-sidebar">
            <c:if test="#{userBean.currentUser.status eq 0}">
                <li class="left-siderbar-add-text"><h:link outcome="/dashboard/write" value="撰写文章"/></li>
            </c:if>
            <li class="left-siderbar-all-text"><h:link outcome="/dashboard/articles" value="所有文章"/></li>
        </ul>

        <ul class="nav nav-sidebar">
            <c:if test="#{userBean.currentUser.status eq 0}">
                <li class="left-siderbar-add-photo"><a href="#">上传照片</a></li>
            </c:if>
            <li class="left-siderbar-all-phpto"><a href="#">所有照片</a></li>
        </ul>

        <ul class="nav nav-sidebar">
            <li class="left-siderbar-topic"><h:link outcome="/dashboard/topic" value="通知"/></li>
            <li class="left-siderbar-comment"><a href="#">评论</a></li>
            <li class="left-siderbar-links"><a href="#">链接</a></li>
        </ul>

        <c:if test="#{userBean.currentUser.status eq 0}">
            <ul class="nav nav-sidebar">
                <li class="left-siderbar-settings"><h:link outcome="/dashboard/settings" value="设置"/></li>
            </ul>
        </c:if>
    </div>
</ui:composition>